package com.mzj.saas.mservice.sys.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class PerUserVO {
    /**
     * 登录账号（Id）
     */
    private String id;
    /**
     * 用户名称
     */
    @ApiModelProperty(value = "用户名称")
    private String name;
    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    private String mobile;
    /**
     * 盐值
     */
    @ApiModelProperty(value = "盐值")
    private String salt;
    /*
     *类型:0、普通用户 1、承租人 2、同住人
     */
    @ApiModelProperty(value = "型:0、普通用户 1、承租人 2、同住人")
    private Short type;
    /*
     *主管理员标识 1主管理员 否则 0
     */
    @ApiModelProperty(value = "主管理员标识 1主管理员 否则 0")
    private Integer mastLogo;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 错号
     */
    @ApiModelProperty(value = "错号")
    private Integer wrongNumber;
    /**
     * 状态: 0-禁用, 1-启用
     */
    @ApiModelProperty(value = "状态: 0-禁用, 1-启用")
    private Short status;

    @ApiModelProperty(value = "有效期")
    private Date validTime;// 有效期

    /*
     *标识1.PC端登录 2.APP登录
     */
    @ApiModelProperty(value = "标识1.PC端登录 2.APP登录")
    private Integer flag;
    //部门名称
    @ApiModelProperty(value = "部门名称")
    private String depName;
    //导入入职时间存储
    @ApiModelProperty(value = "入职时间存储")
    private String joinTime;
    //导入用户角色
    @ApiModelProperty(value = "角色")
    private String role;
    //导入用户自定义字段
    private Map<String, Object> customFieldList;

    private List<String> depNames = new ArrayList<>();

    //用户密码
    @ApiModelProperty(value = "用户密码")
    private String password;

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return mobile
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 设置
     * @param mobile
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * 获取
     * @return salt
     */
    public String getSalt() {
        return salt;
    }

    /**
     * 设置
     * @param salt
     */
    public void setSalt(String salt) {
        this.salt = salt;
    }

    /**
     * 获取
     * @return type
     */
    public Short getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(Short type) {
        this.type = type;
    }

    /**
     * 获取
     * @return mastLogo
     */
    public Integer getMastLogo() {
        return mastLogo;
    }

    /**
     * 设置
     * @param mastLogo
     */
    public void setMastLogo(Integer mastLogo) {
        this.mastLogo = mastLogo;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return wrongNumber
     */
    public Integer getWrongNumber() {
        return wrongNumber;
    }

    /**
     * 设置
     * @param wrongNumber
     */
    public void setWrongNumber(Integer wrongNumber) {
        this.wrongNumber = wrongNumber;
    }

    /**
     * 获取
     * @return status
     */
    public Short getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Short status) {
        this.status = status;
    }

    /**
     * 获取
     * @return validTime
     */
    public Date getValidTime() {
        return validTime;
    }

    /**
     * 设置
     * @param validTime
     */
    public void setValidTime(Date validTime) {
        this.validTime = validTime;
    }

    /**
     * 获取
     * @return flag
     */
    public Integer getFlag() {
        return flag;
    }

    /**
     * 设置
     * @param flag
     */
    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    /**
     * 获取
     * @return depName
     */
    public String getDepName() {
        return depName;
    }

    /**
     * 设置
     * @param depName
     */
    public void setDepName(String depName) {
        this.depName = depName;
    }

    /**
     * 获取
     * @return joinTime
     */
    public String getJoinTime() {
        return joinTime;
    }

    /**
     * 设置
     * @param joinTime
     */
    public void setJoinTime(String joinTime) {
        this.joinTime = joinTime;
    }

    /**
     * 获取
     * @return role
     */
    public String getRole() {
        return role;
    }

    /**
     * 设置
     * @param role
     */
    public void setRole(String role) {
        this.role = role;
    }

    /**
     * 获取
     * @return customFieldList
     */
    public Map<String, Object> getCustomFieldList() {
        return customFieldList;
    }

    /**
     * 设置
     * @param customFieldList
     */
    public void setCustomFieldList(Map<String, Object> customFieldList) {
        this.customFieldList = customFieldList;
    }

    /**
     * 获取
     * @return depNames
     */
    public List<String> getDepNames() {
        return depNames;
    }

    /**
     * 设置
     * @param depNames
     */
    public void setDepNames(List<String> depNames) {
        this.depNames = depNames;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    public String toString() {
        return "PerUserVO{id = " + id + ", name = " + name + ", mobile = " + mobile + ", salt = " + salt + ", type = " + type + ", mastLogo = " + mastLogo + ", createTime = " + createTime + ", wrongNumber = " + wrongNumber + ", status = " + status + ", validTime = " + validTime + ", flag = " + flag + ", depName = " + depName + ", joinTime = " + joinTime + ", role = " + role + ", customFieldList = " + customFieldList + ", depNames = " + depNames + ", password = " + password + "}";
    }
}
